import java.text.SimpleDateFormat
import java.util.Calendar

/**
 * Created by Administrator on 2015/12/7 0007.
 */
object TestMap {
  def main(args: Array[String]) {
     val mm=Map().+(("c",2)).+(("s",2))
    println(mm)

    val now = Calendar.getInstance().getTime()
    val minuteFormat = new SimpleDateFormat("HHmm")
    val dayFormat = new SimpleDateFormat("yyyyMMdd")
    val time = minuteFormat.format(now)
    val day = dayFormat.format(now)
    println(time)
    println(day)
  }
}
